package xyz.zhouforum.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import xyz.zhouforum.dao.TabDao;
import xyz.zhouforum.entity.Tab;
import xyz.zhouforum.service.TabService;

/**
 * @author yin.liu
 * @date 2021年03月08日
 */
@Service
public class TabServiceImpl implements TabService{

	@Autowired
	private TabDao tabDao;
	@Autowired
	private StringRedisTemplate stringRedisTemplate;
	
	/**
	 * 查询所有板块
	 */
	@Override
	public List<Tab> selectAll() {
		return tabDao.selectAll();
	}

}
